﻿@inherits BaseContentPlugin
@rendermode InteractiveServer

@if (Fields != null)
{
    <PluginForm Model="@Model" Name="@FORM_NAME" Title="Create New Content" OnSubmit="OnSubmit">
        @foreach (var field in Fields)
        {
            <DynamicComponent Type="GetFormFieldType(field)" Parameters="GetFormFieldParameters(field)" />
        }
        <FormActions Cancel Submit />
    </PluginForm>
}
